import { configureStore } from '@reduxjs/toolkit';
import userReducer from './features/user';
import paperReducer from './features/paper';
const store = configureStore({
  reducer: { user: userReducer, paper: paperReducer },
});
export type AppState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
export default store;
